<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>扫码结果 - 药品溯源防伪系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <link rel="stylesheet" href="style.css">
</head>
<body class="bg-gray-50">
    <!-- iOS 状态栏 -->
    <div class="ios-status-bar">
        <div>
            <span class="text-sm font-medium">13:37</span>
        </div>
        <div class="flex items-center">
            <i class="fas fa-signal mr-1"></i>
            <i class="fas fa-wifi mr-1"></i>
            <i class="fas fa-battery-full"></i>
        </div>
    </div>

    <!-- 内容区域 -->
    <div class="content-area">
        <!-- 导航栏 -->
        <div class="flex items-center mb-6">
            <a href="home.html" class="mr-4">
                <i class="fas fa-arrow-left text-gray-600"></i>
            </a>
            <h1 class="text-lg font-bold">药品信息</h1>
        </div>

        <!-- 药品信息卡片 -->
        <div class="ios-card p-0 overflow-hidden mb-6">
            <div class="bg-blue-500 p-4 text-white text-center">
                <i class="fas fa-check-circle text-4xl mb-2"></i>
                <h2 class="text-xl font-bold mb-1">正品验证成功</h2>
                <p class="text-sm text-blue-100">该药品为正品，来源可靠</p>
            </div>
            <div class="p-4">
                <div class="flex mb-4">
                    <img src="https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?q=80&w=200&auto=format&fit=crop" alt="Medicine" class="w-20 h-20 object-cover rounded-lg mr-4">
                    <div>
                        <h3 class="font-bold text-lg mb-1">阿莫西林胶囊</h3>
                        <p class="text-gray-500 text-sm mb-1">国药集团</p>
                        <p class="text-sm"><span class="text-gray-500">批次号: </span>AMX20230615</p>
                    </div>
                </div>
                
                <div class="pt-2 border-t border-gray-100">
                    <div class="flex justify-between py-2">
                        <span class="text-gray-500">生产日期</span>
                        <span>2023-06-15</span>
                    </div>
                    <div class="flex justify-between py-2">
                        <span class="text-gray-500">有效期至</span>
                        <span>2025-06-14</span>
                    </div>
                    <div class="flex justify-between py-2">
                        <span class="text-gray-500">规格</span>
                        <span>0.25g×24粒/盒</span>
                    </div>
                    <div class="flex justify-between py-2">
                        <span class="text-gray-500">溯源码</span>
                        <span>72549861</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- 奖励信息 -->
        <div class="ios-card bg-yellow-50 mb-6">
            <div class="flex items-center">
                <div class="w-12 h-12 rounded-full bg-yellow-500 flex items-center justify-center mr-4">
                    <i class="fas fa-gift text-white text-xl"></i>
                </div>
                <div>
                    <h3 class="font-bold mb-1">扫码奖励</h3>
                    <p class="text-red-500 font-bold text-lg">+2.00元</p>
                </div>
            </div>
        </div>

        <!-- 溯源信息 -->
        <div>
            <h3 class="text-lg font-bold mb-4">溯源信息</h3>
            
            <div class="ios-card p-0">
                <div class="p-4 border-b border-gray-100">
                    <h4 class="font-bold mb-2">生产环节</h4>
                    <div class="flex items-center mb-2">
                        <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-3">
                            <i class="fas fa-industry text-blue-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">国药集团成都制药厂</p>
                            <p class="text-xs text-gray-500">2023-06-15 08:23:45</p>
                        </div>
                    </div>
                </div>
                
                <div class="p-4 border-b border-gray-100">
                    <h4 class="font-bold mb-2">物流环节</h4>
                    <div class="flex items-center mb-2">
                        <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center mr-3">
                            <i class="fas fa-truck text-green-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">国药物流中心（成都）</p>
                            <p class="text-xs text-gray-500">2023-06-17 10:45:22</p>
                        </div>
                    </div>
                </div>
                
                <div class="p-4">
                    <h4 class="font-bold mb-2">销售环节</h4>
                    <div class="flex items-center mb-2">
                        <div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center mr-3">
                            <i class="fas fa-store text-purple-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">国大药房（锦江店）</p>
                            <p class="text-xs text-gray-500">2023-06-22 15:30:18</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 底部按钮 -->
        <div class="flex mt-8 mb-8">
            <button class="flex-1 ios-button ios-button-secondary mr-2">投诉举报</button>
            <button class="flex-1 ios-button ml-2">分享</button>
        </div>
    </div>

    <!-- iOS TabBar -->
    <div class="ios-tab-bar">
        <a href="home.html" class="tab-item">
            <i class="fas fa-home"></i>
            <span>首页</span>
        </a>
        <a href="scan.html" class="tab-item active">
            <i class="fas fa-qrcode"></i>
            <span>扫一扫</span>
        </a>
        <a href="rewards.html" class="tab-item">
            <i class="fas fa-gift"></i>
            <span>奖励</span>
        </a>
        <a href="profile.html" class="tab-item">
            <i class="fas fa-user"></i>
            <span>我的</span>
        </a>
    </div>
</body>
</html> 